package org.jeecg.modules.product.job.ticket.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 电子作业票气体分析
 * @Author: jeecg-boot
 * @Date:   2024-08-02
 * @Version: V1.0
 */
@Data
@TableName("tb_job_ticket_gas_analysis")
@Schema(description="电子作业票气体分析")
public class TbJobTicketGasAnalysis implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**采样点*/
	@Excel(name = "采样点", width = 15)
    @Schema(description = "采样点")
    private String samplingPoint;
	/**分析项目*/
	@Excel(name = "分析项目", width = 15)
    @Schema(description = "分析项目")
    private String analysisItem;
	/**分析结果*/
	@Excel(name = "分析结果", width = 15)
    @Schema(description = "分析结果")
    private String analysisResult;
	/**单位*/
	@Excel(name = "单位", width = 15)
    @Schema(description = "单位")
    private String unit;
	/**采样时间*/
	@Excel(name = "采样时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "采样时间")
    private Date samplingTime;
	/**阶段*/
	@Excel(name = "阶段", width = 15)
    @Dict(dicCode = "jobPhase")
    @Schema(description = "阶段")
    private String phase;
	/**登记人*/
    @Excel(name = "登记人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Schema(description = "登记人")
    private String registrant;
	/**分析人*/
    @Excel(name = "分析人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Schema(description = "分析人")
    private String analysisMan;
	/**分析结果图片*/
	@Excel(name = "分析结果图片", width = 15)
    @Schema(description = "分析结果图片")
    private String img;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @Schema(description = "状态")
    private String deleted;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @Schema(description = "租户id")
    private String tenantId;
	/**作业票id*/
    @Schema(description = "作业票id")
    private String jobTicketId;
    /**合格标准*/
    @Schema(description = "合格标准")
    private String acceptanceStandard;
}
